package us.icitap.utils;

import java.io.Serializable;

public class Result<T> implements Serializable{
	
	
	private T object = null;
	private boolean succeeded = true;
	private String message = null;
	
	public Result(T object, boolean succeeded, String message) {
		this.object = object;
		this.succeeded = succeeded;
		this.message = message;		
	}

	public T getObject() {
		return object;
	}

	public boolean isSucceeded() {
		return succeeded;
	}

	public String getMessage() {
		return message;
	}
}
